Color Lookup Table Types
ThetableType
parameter of theQAColorTableNew
function specifies a color lookup table type. QuickDraw 3D RAVE currently supports these types of color lookup tables:
typedef enum TQAColorTableType { kQAColorTable_CL8_RGB32 = 0, kQAColorTable_CL4_RGB32 = 1 } TQAColorTableType;Constant descriptions
kQAColorTable_CL8_RGB32
- The color lookup table contains 256 colors, and each color occupies 32 bits of memory, with the red component in bits 23 through 16, the green component in bits 15 through 8, and the blue component in bits 7 through 0.
kQAColorTable_CL4_RGB32
- The color lookup table contains 16 colors, and each color occupies 32 bits of memory, with the red component in bits 23 through 16, the green component in bits 15 through 8, and the blue component in bits 7 through 0.